package com.cbarmstrong.Finance;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.logging.Formatter;
import java.util.logging.LogRecord;

public class ColinFormatter extends Formatter {

	@Override
	public String format(LogRecord arg0) {
		Calendar c=Calendar.getInstance();
		c.setTimeInMillis(arg0.getMillis());
		return "["+new SimpleDateFormat("dd/MM/yyyy HH:mm:ss").format(c.getTime())+"] "+arg0.getMessage()+System.getProperty("line.separator");
	}

}
